package com.hyjx.framework.service.model;

import com.hyjx.framework.uc.subsys.SubsysModel;

import java.io.Serializable;
import java.util.Map;

/**
 * 缓存子系统、菜单、操作
 *
 * @author Peter
 */
@SuppressWarnings("serial")
public class CacheSubSys implements Serializable {
    private String subSysId;
    private SubsysModel subSys;

    Map<String, CacheMenu> menus;

    public CacheSubSys(String subSysId, SubsysModel subSys, Map<String, CacheMenu> menus) {
        super();
        this.subSysId = subSysId;
        this.subSys = subSys;
        this.menus = menus;
    }

    public String getSubSysId() {
        return subSysId;
    }

    public void setSubSysId(String subSysId) {
        this.subSysId = subSysId;
    }

    public SubsysModel getSubSys() {
        return subSys;
    }

    public void setSubSys(SubsysModel subSys) {
        this.subSys = subSys;
    }

    public Map<String, CacheMenu> getMenus() {
        return menus;
    }

    public void setMenus(Map<String, CacheMenu> menus) {
        this.menus = menus;
    }

}